package com.yy;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.PropertySource;
import org.springframework.context.annotation.PropertySources;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

@MapperScan("com.yy.web.pm")
@PropertySources({@PropertySource(value = "classpath:common.properties", encoding = "UTF-8")})
@SpringBootApplication
public class AdminApplication {
    public static void main(String[] args) {
      SpringApplication.run(AdminApplication.class, args);
        System.out.println("启动成功");
    }

}
